//
//  Helper.m
//  YYZB
//
//  Created by 顾悦 on 16/3/31.
//
//

#import "Helper.h"

@implementation Helper

- (instancetype)initWithDictionary:(NSDictionary *)d {
    Helper *item = [self class].new;
    item.ID = d[@"HelperId"];
    item.code = d[@"HelperCode"];
    item.name = d[@"Name"];
    item.imagePath = d[@"UserPhotoPath"];
    item.type = d[@"HelperType"];
    item.level = d[@"HelperLevel"];
    item.avgReviewScore = d[@"AvgReviewScore"];
    item.serviceCount = d[@"ServiceCount"];
    item.distance = d[@"Distance"];
    return item;
}

@end
